package com.xialinrui.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.xialinrui.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface UserMapper extends BaseMapper<User> {

    void increaseAcquire(@Param("todo_id") Long todoId);

    void decreaseAcquire(@Param("todo_id") Long id);

    void addAcquireByTime(@Param("real_time") Integer realTime);

    void updateStudyingTime(@Param("affair_id") Long id, @Param("real_time")Integer realTime);
}
